package com.wrupple.muba.widget.rebind;

import com.google.gwt.core.ext.Generator;
import com.google.gwt.core.ext.GeneratorContext;
import com.google.gwt.core.ext.TreeLogger;
import com.google.gwt.core.ext.UnableToCompleteException;

public class Widgetterator extends Generator {

	@Override
	public String generate(TreeLogger logger, GeneratorContext context, String typeName)
			throws UnableToCompleteException {

		WidgetterBinder binder = new WidgetterBinder(logger, context, typeName);
		String className = binder.createWidgetter();
		return className;
	}

}
